package com.search.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @Author: Lenovo
 * @Description: TODO
 * @DateTime: 2023/9/14 14:46
 **/
@ApiModel(value = "标签信息")
@Data
@ToString
public class Tag {

    @ApiModelProperty(value = "标签Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer Id;
    @ApiModelProperty(value = "标签名",required = true)
    private String name;
    @ApiModelProperty(value = "标签描述")
    private String description;
}
